how to use while loop in c language